package com.bto.solar.work.dto.order;

import com.bto.solar.work.dto.AddrDto;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author 王小波
 * @description:  订单查询条件
 * @date 2023/8/14 11:48
 */

@Data
@NoArgsConstructor
@Accessors(chain = true)
public class QueryOrderReq {

    @ApiModelProperty("模糊查询：客户姓名、客户电话、客户身份证号、订单号、越秀合同编号")
    private String queryTag;

    @ApiModelProperty("订单编号精确查询")
    private String orderId;

    @ApiModelProperty("订单类型 （HY：户用，ZX：整县，GSY：工商业，HZ：户租 ZZD：真租顶）")
    private String orderType;

    @ApiModelProperty("公司Id")
    private Long companyId;

    @ApiModelProperty("项目公司Id")
    @JsonProperty(value = "prjCompanyId")
    private String prjCompanyId;

    @ApiModelProperty("越秀产品码")
    private String leaseProductCode;

    @ApiModelProperty("地址信息")
    private AddrDto address;

    @ApiModelProperty("阶段")
    private String stageId;

    @ApiModelProperty("任务")
    private String taskId;

    @ApiModelProperty("状态")
    private String stateId;

    @ApiModelProperty("需要排除的任务状态")
    private List<String> excludeTaskStateIds;

    @ApiModelProperty("需要排除的特殊状态")
    private List<String> excludeSpecialStateIds;

    @ApiModelProperty("按照状态排序")
    private Boolean sortByState;

}
